<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>reanslate</title>
		<style type="text/css">
			.biaopan{
				position: relative;
				height: 300px;
				width: 300px;
				background: #B3D4FC;
				margin: 200px auto;
				border-radius: 50%;
			}
			.zhizhen{
				position: absolute;
				width: 100px;
				height: 10px;
				background: #000000;
				left: 50%;
				top: 50%;
				margin-top: -5px;
				margin-left: -10px;
				transition: all 1.5s;					/*过渡效果*/
				/*transform-origin:left;					改变旋转的原点，可选两个方位*/
			}
			.zhizhen:hover{
				transform:translate(20%,10%) rotate(360deg);				/*旋转 ，单位是deg*/
				
			}
		</style>
	</head>
	<body>
		<div class="biaopan">
			<div class="zhizhen">
				
			</div>
		</div>
	</body>
</html>
